package com.yuhs.zixing.study.multithread.mashibing.t001base.t003.start;

import lombok.extern.slf4j.Slf4j;

/**
 * Function: 启动线程 2
 *
 * @Author yuhongsheng
 * @Date: 2023-12-18 21:18:04
 */
@Slf4j
public class ThreadStart002 implements Runnable{
    /**
     * Runs this operation.
     */
    @Override
    public void run() {
        log.atInfo().log("实现 runnable接口 并启动线程");
    }

    public static void main(String[] args) {
        new Thread(new ThreadStart002()).start();
    }
}
